﻿#include "pch.h"

WoHttpServerConnectionProviderPtr WEBOAT_API WoCreateConnectionProvider(const char*host, int port,int IpAddress) {
	g_host = host;
	g_port = port;
	return oatpp::network::tcp::server::ConnectionProvider::createShared(
		oatpp::network::Address(host, (v_int16)port, (oatpp::network::Address::Family)IpAddress));
};


